package utils;

import java.io.File;

public class RenameVisitor  implements NodeVisitor{

	public void visit(FileResources fr, File src, File dest) {
		if(src.exists()){
			src.renameTo(dest);
		}
	}

	public void visit(FileResources fr, File f) {}

}
